package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 检验方案绑定检验项对象 main_inspection_scheme_details
 *
 * @author qijian
 * @date 2024-02-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_inspection_scheme_details")
public class InspectionSchemeDetails extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;

    @Excel(name = "检验方案id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "检验方案id")
    private Long inspectionId;

    @Excel(name = "检验项id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "检验项id")
    private Long itemId;

}
